package com.example.librarymanagement.service;

import com.example.librarymanagement.model.User;

import java.util.List;

public interface UserService {
    boolean registerUser(User user);
    boolean authenticateUser(String username, String password);
    User updateUser(Integer id, User user);
    User getUserByUsername(String username);
    boolean isUsernameExists(String username);
    List<User> findAllUsers();
}